.nzx-jigsaw-container {
  position: relative;
}

.nzx-jigsaw-block {
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
  cursor: grab;
}

.nzx-jigsaw-block:active {
  cursor: grabbing;
}

.nzx-jigsaw-slider-container {
  position: relative;
  text-align: center;
  line-height: 40px;
  height: 40px;
  background: #f7f9fa;
  color: #45494c;
  border: 1px solid #e4e7eb;
}

.nzx-jigsaw-slider-container-active .nzx-jigsaw-slider {
  top: -1px;
  border: 1px solid #1991fa;
}

.nzx-jigsaw-slider-container-active .nzx-jigsaw-slider-mask {
  border-width: 1px;
}

.nzx-jigsaw-slider-container-success .nzx-jigsaw-slider {
  top: -1px;
  border: 1px solid #52ccba;
  background-color: #52ccba !important;
}

.nzx-jigsaw-slider-container-success .nzx-jigsaw-slider-mask {
  border: 1px solid #52ccba;
  background-color: #d2f4ef;
}

.nzx-jigsaw-slider-container-fail .nzx-jigsaw-slider {
  top: -1px;
  border: 1px solid #f57a7a;
  background-color: #f57a7a !important;
}

.nzx-jigsaw-slider-container-fail .nzx-jigsaw-slider-mask {
  border: 1px solid #f57a7a;
  background-color: #fce1e1;
}

.nzx-jigsaw-slider-container-active .nzx-jigsaw-slider-text,
.nzx-jigsaw-slider-container-success .nzx-jigsaw-slider-text,
.nzx-jigsaw-slider-container-fail .nzx-jigsaw-slider-text {
  display: none;
}

.nzx-jigsaw-slider-mask {
  position: absolute;
  left: 0;
  top: 0;
  height: 40px;
  border: 0 solid #1991fa;
  background: #d1e9fe;
}

.nzx-jigsaw-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background: #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  transition: background 0.2s linear;
  cursor: pointer;
  cursor: grab;
}

.nzx-jigsaw-slider:active {
  cursor: grabbing;
}

.nzx-jigsaw-slider:hover {
  background: #1991fa;
}

.nzx-jigsaw-refresh-icon {
  position: absolute;
  right: 5px;
  top: 5px;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

.nzx-jigsaw-loading-container {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #45494c;
  z-index: 2;
  background: #edf0f2;
}

.nzx-jigsaw-loading-icon {
  font-size: 32px;
  margin-bottom: 10px;
}
